package com.bsh.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.bsh.service.AdminService;

@Controller
public class IndexController {
	
	private static Logger log = LoggerFactory.getLogger(IndexController.class);

	@Autowired
	private AdminService adminService;
	
    /**
     * 后台入口
     * @return
     */
	@RequestMapping(value="/main")
	public String index(){
		return "redirect:/views/frame/main.html";
	}
}
